export default class Expense{
  date:string
  expenseType:string
  amount:number
  note:string
  constructor(date, expenseType, amount, note) {
    this.date = date; // 日期
    this.expenseType = expenseType; // 费用类型
    this.amount = parseFloat(amount.toFixed(2)); // 金额，保留两位小数
    this.note = note; // 备注
  }
}